let express = require("express");
let app = express();

app.use("/static", express.static("public"));

app.get("/", function(req, res){
    res.send("Hello Express.");
});

app.get("/signup", function(req, res){
    res.send("signup");
})

app.post("/login", function(req, res){
    res.send("login");
})

let server = app.listen(9999, function(){
    let host = server.address().address;
    let port = server.address().port;

    console.log("Server listening on http://%s:%s", host, port); 
})